/*
 * YATestDataBean.java
 *
 * Created on 30 Nov 2007, 00:00
 *
 * Copyright (C)
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option) any later
 * version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 * Place, Suite 330, Boston, MA 02111-1307 USA
 */

package com.grubby.databean;

import com.grubby.databean.annotation.SqlColumnName;

/**
 * This class is used by the AbstractDataBeasTest class.
 * @author A. HARMEL-LAW. E: andrew.harmel.law@gmail.com
 * @version 0.1
 */
public class YATestDataBean extends AbstractDataBean {

    @SqlColumnName(value = "COL_A")
    private String fieldA;
    
    @SqlColumnName(value = "COL_B")
    private String fieldB;
    
    @SqlColumnName(value = "COL_C")
    private String fieldC;
    
    @SqlColumnName(value = "COL_NUM")
    private int fieldNum;

    /** Creates a new instance of YATestDataBean */
    public YATestDataBean() {
        
        setFieldA("this is the value of FieldA");
        setFieldB("this is the value of FieldB");
        setFieldC("this is the value of FieldC");
        setFieldNum(1);

    }

    public String getFieldA() {
        return fieldA;
    }

    public String setFieldA(String A) {
        this.fieldA = A;
        return A;
    }

    public String getFieldB() {
        return fieldB;
    }

    public String setFieldB(String B) {
        this.fieldB = B;
        return B;
    }

    public String getFieldC() {
        return fieldC;
    }

    public String setFieldC(String C) {
        this.fieldC = C;
        return C;
    }

    public int getFieldNum() {
        return fieldNum;
    }

    public int setFieldNum(int num) {
        this.fieldNum = num;
        return num;
    }
}